package org.dromara.business.domain.bo;

import org.dromara.business.domain.ShoppingCart;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * 购物车业务对象 shopping_cart
 *
 * @author zlj
 * @date 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ShoppingCart.class, reverseConvertGenerate = false)
public class ShoppingCartBo extends BaseEntity {



    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long goodsId;


    private Integer isAdd;




}
